$(function() {
	$('.date').datepicker();
	
	 var options = {
	            currentPage: var_curPage,
	            totalPages: var_totalPage,
	            size:"large",
	            alignment:"center",
	            useBootstrapTooltip:true,
	            tooltipTitles: function (type, page, current) {
	                switch (type) {
	                case "first":
	                    return "首页 <i class='icon-fast-backward icon-white'></i>";
	                case "prev":
	                    return "上一页 <i class='icon-backward icon-white'></i>";
	                case "next":
	                    return "下一页 <i class='icon-forward icon-white'></i>";
	                case "last":
	                    return "末页 <i class='icon-fast-forward icon-white'></i>";
	                case "page":
	                    return "前往 " + page + " <i class='icon-file icon-white'></i>";
	                }
	            },
	            bootstrapTooltipOptions: {
	                html: true,
	                placement: 'bottom'
	            },
	            itemContainerClass: function (type, page, current) {
	                return (page === current) ? "active" : "pointer-cursor";
	            },
	            pageUrl: function(type, page, current){
	                return var_pageUrl+"?page="+page;

	            }
	       };
	
	 $('#pagintor').bootstrapPaginator(options);
});